package struct.advanced.tree;

/**
 * @author MAX
 * @version 1.0
 * @description TODO
 * @date 2022/1/24 10:26
 */
public class TrieTest {

    public static void main(String[] args) {
        Trie trie = new Trie();
        trie.add("Hello");
        trie.add("World");

        System.out.println(trie.contains("Hell"));
        System.out.println(trie.contains("Hello"));
    }
}
